<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>authorizeLogin</title>
</head>
<body>
<form method="post" th:action="@{/oauth2/authorizeLogin}">
    <table>
        <tr>
            <td>
                用户名：
            </td>
            <td>
                <input type="text" name="username" placeholder="用户名">
            </td>
        </tr>
        <tr>
            <td>
                密码：
            </td>
            <td>
                <input type="password" name="password" placeholder="密码">
            </td>
        </tr>
    </table>
    <input type="text" name="code" th:value="${code}">
    <input type="submit" value="提交"/>
</form>
</body>
</html>